package com.itheima.quartz;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * ClassName: MyQuartz
 * Description:
 * Date: 2023/03/14 AM 12:11:34
 * <p>
 * project: springboot
 * package: com.itheima.quartz
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public class MyQuartz extends QuartzJobBean {
    @Override
    protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
        System.out.println("quartz task run...");
    }
}
